package com.piano.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.piano.common.base.BaseEntity;
import java.util.Date;

/**
 * 设备表 t_instrument
 * 
 * @author pinao
 * @date 2019-03-02
 */
public class TInstrument extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 设备id */
	private Integer id;
	/** 购买设备名 */
	private String name;
	/** 购买设备金额 */
	private Integer buyMoney;
	/** 购买设备金额 */
	private Date buyTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setBuyMoney(Integer buyMoney) 
	{
		this.buyMoney = buyMoney;
	}

	public Integer getBuyMoney() 
	{
		return buyMoney;
	}
	public void setBuyTime(Date buyTime) 
	{
		this.buyTime = buyTime;
	}

	public Date getBuyTime() 
	{
		return buyTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("buyMoney", getBuyMoney())
            .append("buyTime", getBuyTime())
            .toString();
    }
}
